export default {
    namespaced: true,
    state:{
        form : {
            cr_position : "",
            cr_describe : "",
            cr_way      : '1',
            cr_address  : "" 
        },
        customModelData : []
    },
    mutations:{
        clearForm(state){
            state.form = {
                cr_position : "",
                cr_describe : "",
                cr_way      : '1',
                cr_address  : ""    
            };
        },
        udpateForm(state,data){
            state.form = data; 
        },
        updateCustomModelData(state,data){
            state.customModelData = data
        }
    }
  }